#pragma once

#include <iostream>
#include <vector>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>

struct TcpClient
{
    int client_sock;
    struct sockaddr_in client_addr;

    bool Create(int fd, struct sockaddr_in client_addr)
    {
        this->client_sock = fd;
        this->client_addr = client_addr;

        return true;
    }
    void Close()
    {
        close(client_sock);
    }
};
